import request from '@/utils/request'

// 查询试验任务预选分组详细列表
export function listBaReportGroupDetail(query) {
  return request({
    url: '/syrw/baReportGroupDetail/list',
    method: 'get',
    params: query
  })
}

// 查询试验任务预选分组详细详细
export function getBaReportGroupDetail(bsId) {
  return request({
    url: '/syrw/baReportGroupDetail/' + bsId,
    method: 'get'
  })
}

// 新增试验任务预选分组详细
export function addBaReportGroupDetail(data) {
  return request({
    url: '/syrw/baReportGroupDetail',
    method: 'post',
    data: data
  })
}

// 修改试验任务预选分组详细
export function updateBaReportGroupDetail(data) {
  return request({
    url: '/syrw/baReportGroupDetail',
    method: 'put',
    data: data
  })
}

// 删除试验任务预选分组详细
export function delBaReportGroupDetail(bsId) {
  return request({
    url: '/syrw/baReportGroupDetail/' + bsId,
    method: 'delete'
  })
}
